//
//  Config.m

//
//  Created by ozm on 2017/11/21.
//  Copyright © 2017年 ozm. All rights reserved.
//

#import "Config.h"

@implementation Config

NSString *const OToken = @"Token";
NSString *const OUser_id = @"User_id";
NSString *const OIs_complete = @"Is_complete";
NSString *const OVerify_scheme = @"Verify_scheme";
NSString *const OVerify_domain = @"Verify_domain";
NSString *const OVerify_user = @"Verify_user";
NSString *const OIs_location_forbidden_popup = @"Is_location_forbidden_popup";
NSString *const OAudit_icon = @"Audit_icon";
NSString *const OIs_save_audit_icon = @"Is_save_audit_icon";

NSString *const Oicon = @"icon";
NSString *const Ois_show_icon = @"is_show_icon";
NSString *const Ofamily_id = @"family_id";
NSString *const Ointegral = @"integral";
NSString *const Ois_upload_icon = @"is_upload_icon";
NSString *const Ovisitor_count = @"visitor_count";
NSString *const Ovp_expiration_time_desc = @"vp_expiration_time_desc";
NSString *const Ois_vp = @"is_vp";
NSString *const Ochat_bubble = @"chat_bubble";
NSString *const Onickname = @"nickname";
NSString *const Ois_self = @"is_self";
NSString *const Ois_vp_new = @"is_vp_new";
NSString *const Ovp_background_icon = @"vp_background_icon";
NSString *const Ocoin = @"coin";
NSString *const Ois_ban_msg = @"is_ban_msg";
NSString *const Ovp_expiration_time = @"vp_expiration_time";
NSString *const Opicture_frame = @"picture_frame";
NSString *const Ois_task_done = @"is_task_done";
NSString *const Ois_party_girl = @"is_party_girl";
NSString *const Ouser_code = @"user_code";
NSString *const Ofans_number = @"fans_number";
NSString *const Ofriend_number = @"friend_number";
NSString *const Ovistors_number = @"vistors_number";
NSString *const Onote_value = @"note_value";
NSString *const Ois_create_family = @"is_create_family";
NSString *const Ovp_expiration_time_desc_new = @"vp_expiration_time_desc_new";
NSString *const Owatch_number = @"watch_number";
NSString *const Obanner_list = @"banner_list";
NSString *const Ovisitor_icon = @"visitor_icon";
NSString *const Oinfo_complete_task = @"info_complete_task";
NSString *const Ovp_desc = @"vp_desc";
NSString *const Oplay_party = @"play_party";
NSString *const Oregister_time = @"register_time";
NSString *const Ois_real = @"is_real";
NSString *const Ochat_banner_list = @"chat_banner_list";


NSString *const OAccess_token = @"Access_token";
NSString *const OAccess_uid = @"Access_uid";
NSString *const OImage = @"Image";
NSString *const OConstellation = @"Constellation";
NSString *const OAutograph = @"Autograph";
NSString *const OBalance = @"Balance";
NSString *const OBirthTime = @"BirthTime";
NSString *const OFollower = @"Follower";
NSString *const ORole = @"Role";
NSString *const OTigaseUserName = @"TigaseUserName";

NSString *const OVpCard = @"VpCard";
NSString *const OCheckStatus = @"CheckStatus";
NSString *const OIsLogin = @"IsLogin";
NSString *const OTotalPhoto = @"TotalPhoto";
NSString *const OTotalComment = @"TotalComment";
NSString *const OIsVp = @"IsVp";
NSString *const OTotalLikes = @"TotalLikes";
NSString *const OTotalAttention = @"TotalAttention";
NSString *const OFollowAndAttention = @"FollowAndAttention";
NSString *const OShareLevel = @"ShareLevel";
NSString *const OIsPerfect = @"IsPerfect";
NSString *const OIsBannerNotice = @"IsBannerNotice";
NSString *const OIsSendMsg = @"IsSendMsg";
NSString *const OAppOpenAdertise = @"AppOpenAdertise";

NSString *const OChannelid = @"Channelid";
NSString *const OBindId = @"BindId";
NSString *const OIsShowAgent = @"IsShowAgent";

NSString *const OChatChargesCost = @"ChatChargesCost";
NSString *const OIfLimitUser = @"IfLimitUser";
NSString *const OSendMessage = @"SendMessage";

NSString *const OSmsCost = @"SmsCost";
NSString *const OVoiceCallCost = @"VoiceCallCost";
NSString *const OVideoCallCost = @"VideoCallCost";
NSString *const OAnswerVoice = @"AnswerVoice";
NSString *const OAnswerVideo = @"AnswerVideo";

NSString *const OOpenVoiceVideoSounds = @"OpenVoiceVideoSounds";

NSString *const ODalampCoin = @"DalampCoin";
NSString *const OInvitationCode = @"InvitationCode";

NSString *const ODefaultSmsSetCost = @"DefaultSmsSetCost";
NSString *const OIosTopUpEachOther = @"IosTopUpEachOther";
NSString *const ORedPacketIosProductId = @"RedPacketIosProductId";

NSString *const OShopExpire = @"ShopExpire";

NSString *const OPrintExpire = @"PrintExpire";
NSString *const OPrintTemplateId = @"PrintTemplateId";
NSString *const OAiNumber = @"AiNumber";

NSString *const OExtInfo = @"ExtInfo";
NSString *const OOpenAdvertising = @"OpenAdvertising";


NSString *const OIsSuperVP=@"IsSuperVP";
NSString *const OIsShowMarketer=@"IsShowMarketer";
NSString *const OAge = @"Age";
NSString *const OTel = @"Tel";

NSString *const OID = @"ID";
NSString *const OUsername = @"Username";
NSString *const OPassword = @"Password";
//NSString *const ONickname = @"Nickname";
NSString *const OPhone = @"Phone";
NSString *const OEmail = @"Email";
NSString *const OMyaccount = @"Myaccount";
NSString *const OPoints = @"Points";

NSString *const OAddress = @"Address";
NSString *const OSex = @"Sex";
NSString *const OBirthday = @"Birthday";
NSString *const OAvatar = @"Avatar";
NSString *const OSignature = @"Signature";
NSString *const OCardtype = @"Cardtype";
NSString *const OCardid = @"Cardid";
NSString *const OCardup = @"cardup";
NSString *const OCarddown = @"carddown";
NSString *const OStatus = @"status";
NSString *const OPhone_status = @"Phone_status";
NSString *const OEmail_status = @"Email_status";
NSString *const ORegtime = @"Regtime";
NSString *const ORegip = @"Regip";
NSString *const OLogintime = @"Logintime";
NSString *const OLoginip = @"Loginip";
NSString *const OHigherlevel = @"Higherlevel";


NSString *const OShow_number = @"Show_number";
NSString *const OInvite_id = @"Invite_id";
NSString *const OOriginal_avatar= @"Original_avatar";
NSString *const OReal_person_auth= @"Real_person_auth";
NSString *const OReal_name_auth= @"Real_name_auth";
NSString *const OFollow_rule_video= @"Follow_rule_video";
NSString *const ONeed_follow_rule_video= @"Need_follow_rule_video";
NSString *const OAvatar_frame= @"Avatar_frame";
NSString *const OSelect= @"Select";
NSString *const OBubble= @"Bubble";
NSString *const OHonor= @"Honor";
NSString *const OOpen_hide_guardian= @"Open_hide_guardian";
NSString *const OOpen_hide_level= @"Open_hide_level";
NSString *const OOpen_message= @"Open_message";
NSString *const OOpen_rob_chat= @"Open_rob_chat";
NSString *const OOpen_stealth= @"Open_stealth";
NSString *const OOpen_rank_show= @"Open_rank_show";
NSString *const OOpen_recv_gift_show= @"Open_recv_gift_show";
NSString *const OOpen_city_location= @"Open_city_location";
NSString *const OOpen_system_accost= @"Open_system_accost";
NSString *const OOpen_daily_wiring= @"Open_daily_wiring";
NSString *const OOpen_video= @"Open_video";
NSString *const OOpen_voice= @"Open_voice";
NSString *const OOpen_appo= @"Open_appo";
NSString *const OOpen_cge= @"Open_cge";
NSString *const OVidp= @"Vidp";
NSString *const OVoip= @"Voip";
NSString *const OAppovidp= @"Appovidp";
NSString *const OChatp= @"Chatp";
NSString *const OOpen_tv= @"Open_tv";
NSString *const OGroup_flg= @"Group_flg";
NSString *const OFans= @"Fans";
NSString *const OFriends= @"Friends";
NSString *const OFollow= @"Follow";
NSString *const ODynamic_num= @"Dynamic_num";
NSString *const OAdolescent_mode= @"Adolescent_mode";
NSString *const OBlack_status= @"Black_status";
NSString *const OHide_city= @"Hide_city";
NSString *const OSay_hello_1= @"Say_hello_1";
NSString *const OSay_hello_2= @"Say_hello_2";
NSString *const OSay_hello_3= @"Say_hello_3";
NSString *const OKf_code= @"Kf_code";


// 保存
+ (void)saveInfo:(NSDictionary *)classify{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:classify forKey:@"classify"];
    [userDefaults synchronize];
}

+ (NSDictionary *)getClassify{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSDictionary *info = [userDefaults objectForKey: @"classify"];
    return info;
}
+ (void)clearClassify{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:nil forKey: @"classify"];
    [userDefaults synchronize];
}
//system/config
// 保存system/config
+ (void)saveSystemConfig:(NSDictionary *)config{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:config forKey:@"systemConfig"];
    [userDefaults synchronize];
}

// 获取system/config
+ (NSDictionary *)getSystemConfig{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSDictionary *info = [userDefaults objectForKey: @"systemConfig"];
    return info;
}

//system/open_app_config
// 保存config
+ (void)saveOpen_app_config:(NSDictionary *)config{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:config forKey:@"openAppConfig"];
    [userDefaults synchronize];
}

// 获取config
+ (NSDictionary *)getOpenAppConfig{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSDictionary *info = [userDefaults objectForKey: @"openAppConfig"];
    return info;
}

//launch接口
// 保存launch_api
+ (void)saveLaunch_apiInfo:(NSDictionary *)launch{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:launch forKey:@"launch_api"];
    [userDefaults synchronize];
}
// 获取launch_api
+ (NSDictionary *)getLaunch_api{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSDictionary *info = [userDefaults objectForKey: @"launch_api"];
    return info;
}
//删除launch_api
+ (void)clearLaunch_api{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:nil forKey: @"launch_api"];
    [userDefaults synchronize];
}

// 保存launch_sys
+ (void)saveLaunch_sysInfo:(NSDictionary *)launch{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:launch forKey:@"launch_sys"];
    [userDefaults synchronize];
}
// 获取launch_sys
+ (NSDictionary *)getLaunch_sys{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSDictionary *info = [userDefaults objectForKey: @"launch_sys"];
    return info;
}
//删除launch_sys
+ (void)clearLaunch_sys{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:nil forKey: @"launch_sys"];
    [userDefaults synchronize];
}

// 保存launch_share_config
+ (void)saveLaunch_share_configInfo:(NSDictionary *)launch{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:launch forKey:@"launch_share_config"];
    [userDefaults synchronize];
}
// 获取launch_share_config
+ (NSDictionary *)getLaunch_share_config{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSDictionary *info = [userDefaults objectForKey: @"launch_share_config"];
    return info;
}
//删除launch_share_config
+ (void)clearLaunch_share_config{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:nil forKey: @"launch_share_config"];
    [userDefaults synchronize];
}

// 保存intimacy_friend
+ (void)saveIntimacy_friendInfo:(NSDictionary *)intimacy_friend{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:intimacy_friend forKey:@"intimacy_friend"];
    [userDefaults synchronize];
}
// 获取intimacy_friend
+ (NSDictionary *)getIntimacy_friend{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSDictionary *info = [userDefaults objectForKey: @"intimacy_friend"];
    return info;
}
// 删除intimacy_friend
+ (void)clearIntimacy_friend{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:nil forKey: @"intimacy_friend"];
    [userDefaults synchronize];
}

// 保存---圈子
+ (void)saveCircleInfo:(NSDictionary *)classify{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:classify forKey:@"circleClassify"];
    [userDefaults synchronize];
}

+ (NSDictionary *)getCircleClassify{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSDictionary *info = [userDefaults objectForKey: @"circleClassify"];
    return info;
}
+ (void)clearCircleClassify{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:nil forKey: @"circleClassify"];
    [userDefaults synchronize];
}

// 保存动态配置的H5url
+ (void)saveDynamicUrl:(NSDictionary *)dic{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:dic forKey:@"dynamicUrl"];
    [userDefaults synchronize];
}

+ (NSDictionary *)getDynamicUrl{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSDictionary *info = [userDefaults objectForKey: @"dynamicUrl"];
    return info;
}
+ (void)clearDynamicUrl{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:nil forKey: @"dynamicUrl"];
    [userDefaults synchronize];
}
// 保存
+ (void)saveProfile2:(LiveUser *)user {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:user.icon forKey:Oicon];
    [userDefaults setObject:user.is_show_icon forKey:Ois_show_icon];
    [userDefaults setObject:user.family_id forKey:Ofamily_id];
    [userDefaults setObject:user.integral forKey:Ointegral];
    [userDefaults setObject:user.is_upload_icon forKey:Ois_upload_icon];
    [userDefaults setObject:user.visitor_count forKey:Ovisitor_count];
    [userDefaults setObject:user.vp_expiration_time_desc forKey:Ovp_expiration_time_desc];
    [userDefaults setObject:user.is_vp forKey:Ois_vp];
    [userDefaults setObject:user.chat_bubble forKey:Ochat_bubble];
    [userDefaults setObject:user.nickname forKey:Onickname];
    [userDefaults setObject:user.Sex forKey:OSex];
    
    [userDefaults setObject:user.is_self forKey:Ois_self];
    [userDefaults setObject:user.is_vp_new forKey:Ois_vp_new];
    [userDefaults setObject:user.vp_background_icon forKey:Ovp_background_icon];
    [userDefaults setObject:user.coin forKey:Ocoin];
    [userDefaults setObject:user.is_ban_msg forKey:Ois_ban_msg];
    [userDefaults setObject:user.vp_expiration_time forKey:Ovp_expiration_time];
    [userDefaults setObject:user.picture_frame forKey:Opicture_frame];
    [userDefaults setObject:user.is_task_done forKey:Ois_task_done];
    [userDefaults setObject:user.is_party_girl forKey:Ois_party_girl];
    [userDefaults setObject:user.user_code forKey:Ouser_code];
    [userDefaults setObject:user.fans_number forKey:Ofans_number];
    [userDefaults setObject:user.friend_number forKey:Ofriend_number];
    [userDefaults setObject:user.vistors_number forKey:Ovistors_number];
    [userDefaults setObject:user.note_value forKey:Onote_value];
    [userDefaults setObject:user.is_create_family forKey:Ois_create_family];
    [userDefaults setObject:user.vp_expiration_time_desc_new forKey:Ovp_expiration_time_desc_new];
    [userDefaults setObject:user.watch_number forKey:Owatch_number];
    
    [userDefaults setObject:user.banner_list forKey:Obanner_list];
    [userDefaults setObject:user.visitor_icon forKey:Ovisitor_icon];
    [userDefaults setObject:user.info_complete_task forKey:Oinfo_complete_task];
    [userDefaults setObject:user.vp_desc forKey:Ovp_desc];
    [userDefaults setObject:user.play_party forKey:Oplay_party];
    [userDefaults setObject:user.register_time forKey:Oregister_time];
    [userDefaults setObject:user.is_real forKey:Ois_real];
    [userDefaults setObject:user.chat_banner_list forKey:Ochat_banner_list];
    
    [userDefaults setObject:user.show_number forKey:OShow_number];
    [userDefaults setObject:user.invite_id forKey:OInvite_id];
    [userDefaults setObject:user.original_avatar forKey:OOriginal_avatar];
    [userDefaults setObject:user.real_person_auth forKey:OReal_person_auth];
    [userDefaults setObject:user.real_name_auth forKey:OReal_name_auth];
    [userDefaults setObject:user.follow_rule_video forKey:OFollow_rule_video];
    [userDefaults setObject:user.need_follow_rule_video forKey:ONeed_follow_rule_video];
    [userDefaults setObject:user.avatar_frame forKey:OAvatar_frame];
    [userDefaults setObject:user.select forKey:OSelect];
    [userDefaults setObject:user.bubble forKey:OBubble];
    [userDefaults setObject:user.honor forKey:OHonor];
    [userDefaults setObject:user.open_hide_guardian forKey:OOpen_hide_guardian];
    [userDefaults setObject:user.open_hide_level forKey:OOpen_hide_level];
    [userDefaults setObject:user.open_message forKey:OOpen_message];
    [userDefaults setObject:user.open_rob_chat forKey:OOpen_rob_chat];
    [userDefaults setObject:user.open_stealth forKey:OOpen_stealth];
    [userDefaults setObject:user.open_rob_chat forKey:OOpen_rob_chat];
    [userDefaults setObject:user.open_stealth forKey:OOpen_stealth];
    [userDefaults setObject:user.open_rank_show forKey:OOpen_rank_show];
    [userDefaults setObject:user.open_recv_gift_show forKey:OOpen_recv_gift_show];
    [userDefaults setObject:user.open_city_location forKey:OOpen_city_location];
    [userDefaults setObject:user.open_system_accost forKey:OOpen_system_accost];
    [userDefaults setObject:user.open_daily_wiring forKey:OOpen_daily_wiring];
    [userDefaults setObject:user.open_video forKey:OOpen_video];
    [userDefaults setObject:user.open_voice forKey:OOpen_voice];
    [userDefaults setObject:user.open_appo forKey:OOpen_appo];
    [userDefaults setObject:user.open_cge forKey:OOpen_cge];
    [userDefaults setObject:user.vidp forKey:OVidp];
    [userDefaults setObject:user.voip forKey:OVoip];
    [userDefaults setObject:user.appovidp forKey:OAppovidp];
    [userDefaults setObject:user.chatp forKey:OChatp];
    [userDefaults setObject:user.open_tv forKey:OOpen_tv];
    [userDefaults setObject:user.group_flg forKey:OGroup_flg];
    [userDefaults setObject:user.fans forKey:OFans];
    [userDefaults setObject:user.friends forKey:OFriends];
    [userDefaults setObject:user.follow forKey:OFollow];
    [userDefaults setObject:user.dynamic_num forKey:ODynamic_num];
    [userDefaults setObject:user.adolescent_mode forKey:OAdolescent_mode];
    [userDefaults setObject:user.black_status forKey:OBlack_status];
    [userDefaults setObject:user.hide_city forKey:OHide_city];
    [userDefaults setObject:user.say_hello_1 forKey:OSay_hello_1];
    [userDefaults setObject:user.say_hello_2 forKey:OSay_hello_2];
    [userDefaults setObject:user.say_hello_3 forKey:OSay_hello_3];
    [userDefaults setObject:user.kf_code forKey:OKf_code];
    
    
    [userDefaults synchronize];
}
// 保存
+ (void)saveProfile:(LiveUser *)user {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:user.token forKey:OToken];
    [userDefaults setObject:user.user_id forKey:OUser_id];
    [userDefaults setObject:user.is_complete forKey:OIs_complete];
    [userDefaults setObject:user.verify_scheme forKey:OVerify_scheme];
    [userDefaults setObject:user.verify_domain forKey:OVerify_domain];
    [userDefaults setObject:user.verify_user forKey:OVerify_user];
    [userDefaults setObject:user.is_location_forbidden_popup forKey:OIs_location_forbidden_popup];
    [userDefaults setObject:user.audit_icon forKey:OAudit_icon];
    [userDefaults setObject:user.is_save_audit_icon forKey:OIs_save_audit_icon];
    
    
    
    [userDefaults setObject:user.access_uid forKey:OAccess_uid];
    [userDefaults setObject:user.access_token forKey:OAccess_token];
    [userDefaults setObject:user.image forKey:OImage];
    [userDefaults setObject:user.constellation forKey:OConstellation];
    [userDefaults setObject:user.autograph forKey:OAutograph];
    [userDefaults setObject:user.age forKey:OAge];
    [userDefaults setObject:user.balance forKey:OBalance];
    [userDefaults setObject:user.tel forKey:OTel];
    [userDefaults setObject:user.birthTime forKey:OBirthTime];
    [userDefaults setObject:user.follower forKey:OFollower];
    [userDefaults setObject:user.role forKey:ORole];
    [userDefaults setObject:user.tigaseUserName forKey:OTigaseUserName];
    
    [userDefaults setObject:user.vpCard forKey:OVpCard];
    [userDefaults setObject:user.checkStatus forKey:OCheckStatus];
    [userDefaults setObject:user.isLogin forKey:OIsLogin];
    [userDefaults setObject:user.totalPhoto forKey:OTotalPhoto];
    [userDefaults setObject:user.totalComment forKey:OTotalComment];
    [userDefaults setObject:user.isVp forKey:OIsVp];
    [userDefaults setObject:user.totalLikes forKey:OTotalLikes];
    [userDefaults setObject:user.totalAttention forKey:OTotalAttention];
    [userDefaults setObject:user.followAndAttention forKey:OFollowAndAttention];
    [userDefaults setObject:user.shareLevel forKey:OShareLevel];
    [userDefaults setObject:user.isPerfect forKey:OIsPerfect];
    [userDefaults setObject:user.isBannerNotice forKey:OIsBannerNotice];
    [userDefaults setObject:user.isSendMsg forKey:OIsSendMsg];
    [userDefaults setObject:user.appOpenAdertise forKey:OAppOpenAdertise];
    [userDefaults setObject:user.isSuperVP forKey:OIsSuperVP];
    [userDefaults setObject:user.isShowMarketer forKey:OIsShowMarketer];
    [userDefaults setObject:user.channelid forKey:OChannelid];
    [userDefaults setObject:user.bindId forKey:OBindId];
    [userDefaults setObject:user.isShowAgent forKey:OIsShowAgent];
    [userDefaults setObject:user.chatChargesCost forKey:OChatChargesCost];
    [userDefaults setObject:user.ifLimitUser forKey:OIfLimitUser];
    [userDefaults setObject:user.sendMessage forKey:OSendMessage];
    
    [userDefaults setObject:user.smsCost forKey:OSmsCost];
    [userDefaults setObject:user.voiceCallCost forKey:OVoiceCallCost];
    [userDefaults setObject:user.videoCallCost forKey:OVideoCallCost];
    [userDefaults setObject:user.answerVoice forKey:OAnswerVoice];
    [userDefaults setObject:user.answerVideo forKey:OAnswerVideo];
    
    [userDefaults setObject:user.openVoiceVideoSounds forKey:OOpenVoiceVideoSounds];
    

    [userDefaults setObject:user.dalampCoin forKey:ODalampCoin];
    [userDefaults setObject:user.invitationCode forKey:OInvitationCode];
    
    [userDefaults setObject:user.defaultSmsSetCost forKey:ODefaultSmsSetCost];
    [userDefaults setObject:user.iosTopUpEachOther forKey:OIosTopUpEachOther];
    [userDefaults setObject:user.redPacketIosProductId forKey:ORedPacketIosProductId];
    
    [userDefaults setObject:user.shopExpire forKey:OShopExpire];
    
    [userDefaults setObject:user.printExpire forKey:OPrintExpire];
    [userDefaults setObject:user.printTemplateId forKey:OPrintTemplateId];
    [userDefaults setObject:user.aiNumber forKey:OAiNumber];

    [userDefaults setObject:user.extInfo forKey:OExtInfo];
    [userDefaults setObject:user.openAdvertising forKey:OOpenAdvertising];
    
    [userDefaults setObject:user.ID forKey:OID];
    [userDefaults setObject:user.Username forKey:OUsername];
    [userDefaults setObject:user.Password forKey:OPassword];
    [userDefaults setObject:user.nickname forKey:Onickname];
    [userDefaults setObject:user.Phone forKey:OPhone];
    [userDefaults setObject:user.Email forKey:OEmail];
    [userDefaults setObject:user.Myaccount forKey:OMyaccount];
    [userDefaults setObject:user.Points forKey:OPoints];
   
    [userDefaults setObject:user.Address forKey:OAddress];
    [userDefaults setObject:user.Sex forKey:OSex];
    [userDefaults setObject:user.Birthday forKey:OBirthday];
    [userDefaults setObject:user.Avatar forKey:OAvatar];
    [userDefaults setObject:user.Signature forKey:OSignature];
    [userDefaults setObject:user.Cardtype forKey:OCardtype];
    [userDefaults setObject:user.Cardid forKey:OCardid];
    [userDefaults setObject:user.cardup forKey:OCardup];
    [userDefaults setObject:user.carddown forKey:OCarddown];
    [userDefaults setObject:user.status forKey:OStatus];
    [userDefaults setObject:user.Phone_status forKey:OPhone_status];
    [userDefaults setObject:user.Email_status forKey:OEmail_status];
    [userDefaults setObject:user.Regtime forKey:ORegtime];
    [userDefaults setObject:user.Regip forKey:ORegip];
    [userDefaults setObject:user.Logintime forKey:OLogintime];
    [userDefaults setObject:user.Loginip forKey:OLoginip];
    [userDefaults setObject:user.Higherlevel forKey:OHigherlevel];
    
    [userDefaults setObject:user.show_number forKey:OShow_number];
    [userDefaults setObject:user.invite_id forKey:OInvite_id];
    [userDefaults setObject:user.original_avatar forKey:OOriginal_avatar];
    [userDefaults setObject:user.real_person_auth forKey:OReal_person_auth];
    [userDefaults setObject:user.real_name_auth forKey:OReal_name_auth];
    [userDefaults setObject:user.follow_rule_video forKey:OFollow_rule_video];
    [userDefaults setObject:user.need_follow_rule_video forKey:ONeed_follow_rule_video];
    [userDefaults setObject:user.avatar_frame forKey:OAvatar_frame];
    [userDefaults setObject:user.select forKey:OSelect];
    [userDefaults setObject:user.bubble forKey:OBubble];
    [userDefaults setObject:user.honor forKey:OHonor];
    [userDefaults setObject:user.open_hide_guardian forKey:OOpen_hide_guardian];
    [userDefaults setObject:user.open_hide_level forKey:OOpen_hide_level];
    [userDefaults setObject:user.open_message forKey:OOpen_message];
    [userDefaults setObject:user.open_rob_chat forKey:OOpen_rob_chat];
    [userDefaults setObject:user.open_stealth forKey:OOpen_stealth];
    [userDefaults setObject:user.open_rob_chat forKey:OOpen_rob_chat];
    [userDefaults setObject:user.open_stealth forKey:OOpen_stealth];
    [userDefaults setObject:user.open_rank_show forKey:OOpen_rank_show];
    [userDefaults setObject:user.open_recv_gift_show forKey:OOpen_recv_gift_show];
    [userDefaults setObject:user.open_city_location forKey:OOpen_city_location];
    [userDefaults setObject:user.open_system_accost forKey:OOpen_system_accost];
    [userDefaults setObject:user.open_daily_wiring forKey:OOpen_daily_wiring];
    [userDefaults setObject:user.open_video forKey:OOpen_video];
    [userDefaults setObject:user.open_voice forKey:OOpen_voice];
    [userDefaults setObject:user.open_appo forKey:OOpen_appo];
    [userDefaults setObject:user.open_cge forKey:OOpen_cge];
    [userDefaults setObject:user.vidp forKey:OVidp];
    [userDefaults setObject:user.voip forKey:OVoip];
    [userDefaults setObject:user.appovidp forKey:OAppovidp];
    [userDefaults setObject:user.chatp forKey:OChatp];
    [userDefaults setObject:user.open_tv forKey:OOpen_tv];
    [userDefaults setObject:user.group_flg forKey:OGroup_flg];
    [userDefaults setObject:user.fans forKey:OFans];
    [userDefaults setObject:user.friends forKey:OFriends];
    [userDefaults setObject:user.follow forKey:OFollow];
    [userDefaults setObject:user.dynamic_num forKey:ODynamic_num];
    [userDefaults setObject:user.adolescent_mode forKey:OAdolescent_mode];
    [userDefaults setObject:user.black_status forKey:OBlack_status];
    [userDefaults setObject:user.hide_city forKey:OHide_city];
    [userDefaults setObject:user.say_hello_1 forKey:OSay_hello_1];
    [userDefaults setObject:user.say_hello_2 forKey:OSay_hello_2];
    [userDefaults setObject:user.say_hello_3 forKey:OSay_hello_3];
    [userDefaults setObject:user.kf_code forKey:OKf_code];
    
    [userDefaults synchronize];
}

// 更新
+ (void)updateProfile:(LiveUser *)user {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    if (user.token!=nil) [userDefaults setObject:user.token forKey:OToken];
    if (user.user_id!=nil) [userDefaults setObject:user.user_id forKey:OUser_id];
    if (user.is_complete!=nil) [userDefaults setObject:user.is_complete forKey:OIs_complete];
    if (user.verify_scheme!=nil) [userDefaults setObject:user.verify_scheme forKey:OVerify_scheme];
    if (user.verify_domain!=nil) [userDefaults setObject:user.verify_domain forKey:OVerify_domain];
    if (user.verify_user!=nil) [userDefaults setObject:user.verify_user forKey:OVerify_user];
    if (user.is_location_forbidden_popup!=nil) [userDefaults setObject:user.is_location_forbidden_popup forKey:OIs_location_forbidden_popup];
    if (user.audit_icon!=nil) [userDefaults setObject:user.audit_icon forKey:OAudit_icon];
    if (user.is_save_audit_icon!=nil) [userDefaults setObject:user.is_save_audit_icon forKey:OIs_save_audit_icon];
    
    if (user.icon!=nil) [userDefaults setObject:user.icon forKey:Oicon];
    if (user.is_show_icon!=nil) [userDefaults setObject:user.is_show_icon forKey:Ois_show_icon];
    if (user.family_id!=nil) [userDefaults setObject:user.family_id forKey:Ofamily_id];
    if (user.integral!=nil) [userDefaults setObject:user.integral forKey:Ointegral];
    if (user.is_upload_icon!=nil) [userDefaults setObject:user.is_upload_icon forKey:Ois_upload_icon];
    if (user.visitor_count!=nil) [userDefaults setObject:user.visitor_count forKey:Ovisitor_count];
    if (user.vp_expiration_time_desc!=nil) [userDefaults setObject:user.vp_expiration_time_desc forKey:Ovp_expiration_time_desc];
    if (user.is_vp!=nil) [userDefaults setObject:user.is_vp forKey:Ois_vp];
    if (user.chat_bubble!=nil) [userDefaults setObject:user.chat_bubble forKey:Ochat_bubble];
    if (user.nickname!=nil) [userDefaults setObject:user.nickname forKey:Onickname];
    
    if (user.is_self!=nil) [userDefaults setObject:user.is_self forKey:Ois_self];
    if (user.is_vp_new!=nil) [userDefaults setObject:user.is_vp_new forKey:Ois_vp_new];
    if (user.vp_background_icon!=nil) [userDefaults setObject:user.vp_background_icon forKey:Ovp_background_icon];
    if (user.coin!=nil) [userDefaults setObject:user.coin forKey:Ocoin];
    if (user.is_ban_msg!=nil) [userDefaults setObject:user.is_ban_msg forKey:Ois_ban_msg];
    if (user.vp_expiration_time!=nil) [userDefaults setObject:user.vp_expiration_time forKey:Ovp_expiration_time];
    if (user.picture_frame!=nil) [userDefaults setObject:user.picture_frame forKey:Opicture_frame];
    if (user.is_task_done!=nil) [userDefaults setObject:user.is_task_done forKey:Ois_task_done];
    if (user.is_party_girl!=nil) [userDefaults setObject:user.is_party_girl forKey:Ois_party_girl];
    if (user.user_code!=nil) [userDefaults setObject:user.user_code forKey:Ouser_code];
    
    if (user.fans_number!=nil) [userDefaults setObject:user.fans_number forKey:Ofans_number];
    if (user.friend_number!=nil) [userDefaults setObject:user.friend_number forKey:Ofriend_number];
    if (user.vistors_number!=nil) [userDefaults setObject:user.vistors_number forKey:Ovistors_number];
    if (user.note_value!=nil) [userDefaults setObject:user.note_value forKey:Onote_value];
    if (user.is_create_family!=nil) [userDefaults setObject:user.is_create_family forKey:Ois_create_family];
    if (user.vp_expiration_time_desc_new!=nil) [userDefaults setObject:user.vp_expiration_time_desc_new forKey:Ovp_expiration_time_desc_new];
    if (user.watch_number!=nil) [userDefaults setObject:user.watch_number forKey:Owatch_number];
    if (user.banner_list!=nil) [userDefaults setObject:user.banner_list forKey:Obanner_list];
    if (user.visitor_icon!=nil) [userDefaults setObject:user.visitor_icon forKey:Ovisitor_icon];
    if (user.info_complete_task!=nil) [userDefaults setObject:user.info_complete_task forKey:Oinfo_complete_task];
    if (user.vp_desc!=nil) [userDefaults setObject:user.vp_desc forKey:Ovp_desc];
    if (user.play_party!=nil) [userDefaults setObject:user.play_party forKey:Oplay_party];
    if (user.register_time!=nil) [userDefaults setObject:user.register_time forKey:Oregister_time];
    if (user.is_real!=nil) [userDefaults setObject:user.is_real forKey:Ois_real];
    if (user.chat_banner_list!=nil) [userDefaults setObject:user.user_code forKey:Ochat_banner_list];
    
  
    if (user.access_uid != nil) [userDefaults setObject:user.access_uid forKey:OAccess_uid];
    if (user.access_token != nil) [userDefaults setObject:user.access_token forKey:OAccess_token];
    if (user.image != nil) [userDefaults setObject:user.image forKey:OImage];
    if (user.constellation != nil) [userDefaults setObject:user.constellation forKey:OConstellation];
    if (user.autograph != nil) [userDefaults setObject:user.autograph forKey:OAutograph];
    if (user.age != nil) [userDefaults setObject:user.age forKey:OAge];
    if (user.tel != nil) [userDefaults setObject:user.tel forKey:OTel];
    if (user.balance != nil) [userDefaults setObject:user.balance forKey:OBalance];
    if (user.birthTime != nil) [userDefaults setObject:user.birthTime forKey:OBirthTime];
    if (user.follower != nil) [userDefaults setObject:user.follower forKey:OFollower];
    if (user.role != nil) [userDefaults setObject:user.role forKey:ORole];
    if (user.tigaseUserName != nil) [userDefaults setObject:user.tigaseUserName forKey:OTigaseUserName];
    
    if (user.vpCard != nil) [userDefaults setObject:user.vpCard forKey:OVpCard];
    if (user.checkStatus != nil) [userDefaults setObject:user.checkStatus forKey:OCheckStatus];
    if (user.isLogin != nil) [userDefaults setObject:user.isLogin forKey:OIsLogin];
    if (user.totalPhoto != nil) [userDefaults setObject:user.totalPhoto forKey:OTotalPhoto];
    if (user.totalComment != nil) [userDefaults setObject:user.totalComment forKey:OTotalComment];
    if (user.isVp != nil) [userDefaults setObject:user.isVp forKey:OIsVp];
    if (user.totalLikes != nil) [userDefaults setObject:user.totalLikes forKey:OTotalLikes];
    if (user.totalAttention != nil) [userDefaults setObject:user.totalAttention forKey:OTotalAttention];
    if (user.followAndAttention != nil) [userDefaults setObject:user.followAndAttention forKey:OFollowAndAttention];
    if (user.shareLevel != nil) [userDefaults setObject:user.shareLevel forKey:OShareLevel];
    if (user.isPerfect != nil) [userDefaults setObject:user.isPerfect forKey:OIsPerfect];
    
    if (user.chatChargesCost != nil) [userDefaults setObject:user.chatChargesCost forKey:OChatChargesCost];
    if (user.ifLimitUser != nil) [userDefaults setObject:user.ifLimitUser forKey:OIfLimitUser];
    if (user.sendMessage != nil) [userDefaults setObject:user.sendMessage forKey:OSendMessage];
    
    if (user.smsCost != nil) [userDefaults setObject:user.smsCost forKey:OSmsCost];
    if (user.voiceCallCost != nil) [userDefaults setObject:user.voiceCallCost forKey:OVoiceCallCost];
    if (user.videoCallCost != nil) [userDefaults setObject:user.videoCallCost forKey:OVideoCallCost];
    if (user.answerVoice != nil) [userDefaults setObject:user.answerVoice forKey:OAnswerVoice];
    if (user.answerVideo != nil) [userDefaults setObject:user.answerVideo forKey:OAnswerVideo];
    
    if (user.openVoiceVideoSounds != nil) [userDefaults setObject:user.openVoiceVideoSounds forKey:OOpenVoiceVideoSounds];
    
    if (user.dalampCoin != nil) [userDefaults setObject:user.dalampCoin forKey:ODalampCoin];
    if (user.invitationCode != nil) [userDefaults setObject:user.invitationCode forKey:OInvitationCode];
    
    if (user.defaultSmsSetCost != nil) [userDefaults setObject:user.defaultSmsSetCost forKey:ODefaultSmsSetCost];
    if (user.iosTopUpEachOther != nil) [userDefaults setObject:user.iosTopUpEachOther forKey:OIosTopUpEachOther];
    if (user.redPacketIosProductId != nil) [userDefaults setObject:user.redPacketIosProductId forKey:ORedPacketIosProductId];
    
    if (user.shopExpire != nil) [userDefaults setObject:user.shopExpire forKey:OShopExpire];
    
    if (user.printExpire != nil) [userDefaults setObject:user.printExpire forKey:OPrintExpire];
    if (user.printTemplateId != nil) [userDefaults setObject:user.printTemplateId forKey:OPrintTemplateId];
    if (user.aiNumber != nil) [userDefaults setObject:user.aiNumber forKey:OAiNumber];
    
    if (user.extInfo != nil) [userDefaults setObject:user.extInfo forKey:OExtInfo];
    
    if (user.openAdvertising != nil) [userDefaults setObject:user.openAdvertising forKey:OOpenAdvertising];
   
    
    if (user.appOpenAdertise != nil) [userDefaults setObject:user.appOpenAdertise forKey:OAppOpenAdertise];
    if (user.isSuperVP != nil) [userDefaults setObject:user.isSuperVP forKey:OIsSuperVP];
    
    if (user.isShowMarketer != nil) [userDefaults setObject:user.isShowMarketer forKey:OIsShowMarketer];
    
    if (user.isBannerNotice != nil) [userDefaults setObject:user.isBannerNotice forKey:OIsBannerNotice];
    if (user.isSendMsg != nil) [userDefaults setObject:user.isSendMsg forKey:OIsSendMsg];
    
    if (user.channelid!= nil) [userDefaults setObject:user.channelid forKey:OChannelid];
    if (user.bindId!= nil) [userDefaults setObject:user.bindId forKey:OBindId];
    if (user.isShowAgent!= nil) [userDefaults setObject:user.isShowAgent forKey:OIsShowAgent];
    
    if (user.ID != nil) [userDefaults setObject:user.ID forKey:OID];
    if (user.Username != nil) [userDefaults setObject:user.Username forKey:OUsername];
    if (user.Password != nil) [userDefaults setObject:user.Password forKey:OPassword];
//    if (user.Nickname != nil) [userDefaults setObject:user.Nickname forKey:ONickname];
    if (user.Phone != nil) [userDefaults setObject:user.Phone forKey:OPhone];
    if (user.Email!=nil) [userDefaults setObject:user.Email forKey:OEmail];
    if (user.Myaccount!=nil) [userDefaults setObject:user.Myaccount forKey:OMyaccount];
    if (user.Points!=nil) [userDefaults setObject:user.Points forKey:OPoints];
    
    
    if (user.Address!=nil) [userDefaults setObject:user.Address forKey:OAddress];
    if (user.Sex!=nil) [userDefaults setObject:user.Sex forKey:OSex];
    if (user.Birthday!=nil) [userDefaults setObject:user.Birthday forKey:OBirthday];
    if (user.Avatar!=nil) [userDefaults setObject:user.Avatar forKey:OAvatar];
    if (user.Signature!=nil) [userDefaults setObject:user.Signature forKey:OSignature];
    if (user.Cardtype!=nil) [userDefaults setObject:user.Cardtype forKey:OCardtype];
    if (user.Cardid!=nil) [userDefaults setObject:user.Cardid forKey:OCardid];
    if (user.cardup!=nil) [userDefaults setObject:user.cardup forKey:OCardup];
    if (user.carddown!=nil) [userDefaults setObject:user.carddown forKey:OCarddown];
    if (user.status!=nil) [userDefaults setObject:user.status forKey:OStatus];
    if (user.Phone_status!=nil) [userDefaults setObject:user.Phone_status forKey:OPhone_status];
    if (user.Email_status!=nil) [userDefaults setObject:user.Email_status forKey:OEmail_status];
    if (user.Regtime!=nil) [userDefaults setObject:user.Regtime forKey:ORegtime];
    if (user.Regip!=nil) [userDefaults setObject:user.Regip forKey:ORegip];
    if (user.Logintime!=nil) [userDefaults setObject:user.Logintime forKey:OLogintime];
    if (user.Loginip!=nil) [userDefaults setObject:user.Loginip forKey:OLoginip];
    if (user.Higherlevel!=nil) [userDefaults setObject:user.Higherlevel forKey:OHigherlevel];
    
    
    if (user.show_number!=nil) [userDefaults setObject:user.show_number forKey:OShow_number];
    if (user.invite_id!=nil) [userDefaults setObject:user.invite_id forKey:OInvite_id];
    if (user.original_avatar!=nil) [userDefaults setObject:user.original_avatar forKey:OOriginal_avatar];
    if (user.real_person_auth!=nil) [userDefaults setObject:user.real_person_auth forKey:OReal_person_auth];
    if (user.real_name_auth!=nil) [userDefaults setObject:user.real_name_auth forKey:OReal_name_auth];
    if (user.follow_rule_video!=nil) [userDefaults setObject:user.follow_rule_video forKey:OFollow_rule_video];
    if (user.need_follow_rule_video!=nil) [userDefaults setObject:user.need_follow_rule_video forKey:ONeed_follow_rule_video];
    if (user.avatar_frame!=nil) [userDefaults setObject:user.avatar_frame forKey:OAvatar_frame];
    if (user.select!=nil) [userDefaults setObject:user.select forKey:OSelect];
    if (user.bubble!=nil) [userDefaults setObject:user.bubble forKey:OBubble];
    if (user.honor!=nil) [userDefaults setObject:user.honor forKey:OHonor];
    if (user.open_hide_guardian!=nil) [userDefaults setObject:user.open_hide_guardian forKey:OOpen_hide_guardian];
    if (user.open_hide_level!=nil) [userDefaults setObject:user.open_hide_level forKey:OOpen_hide_level];
    if (user.open_message!=nil) [userDefaults setObject:user.open_message forKey:OOpen_message];
    if (user.open_rob_chat!=nil) [userDefaults setObject:user.open_rob_chat forKey:OOpen_rob_chat];
    if (user.open_stealth!=nil) [userDefaults setObject:user.open_stealth forKey:OOpen_stealth];
    if (user.open_rob_chat!=nil) [userDefaults setObject:user.open_rob_chat forKey:OOpen_rob_chat];
    if (user.open_rank_show!=nil) [userDefaults setObject:user.open_rank_show forKey:OOpen_rank_show];
    if (user.open_recv_gift_show!=nil) [userDefaults setObject:user.open_recv_gift_show forKey:OOpen_recv_gift_show];
    if (user.open_city_location!=nil) [userDefaults setObject:user.open_city_location forKey:OOpen_city_location];
    if (user.open_system_accost!=nil) [userDefaults setObject:user.open_system_accost forKey:OOpen_system_accost];
    if (user.open_daily_wiring!=nil) [userDefaults setObject:user.open_daily_wiring forKey:OOpen_daily_wiring];
    if (user.open_video!=nil) [userDefaults setObject:user.open_video forKey:OOpen_video];
    if (user.open_voice!=nil) [userDefaults setObject:user.open_voice forKey:OOpen_voice];
    if (user.open_appo!=nil) [userDefaults setObject:user.open_appo forKey:OOpen_appo];
    if (user.open_cge!=nil) [userDefaults setObject:user.open_cge forKey:OOpen_cge];
    if (user.vidp!=nil) [userDefaults setObject:user.vidp forKey:OVidp];
    if (user.voip!=nil) [userDefaults setObject:user.voip forKey:OVoip];
    if (user.appovidp!=nil) [userDefaults setObject:user.appovidp forKey:OAppovidp];
    if (user.chatp!=nil) [userDefaults setObject:user.open_appo forKey:OChatp];
    if (user.open_tv!=nil) [userDefaults setObject:user.open_tv forKey:OOpen_tv];
    if (user.group_flg!=nil) [userDefaults setObject:user.group_flg forKey:OGroup_flg];
    if (user.fans!=nil) [userDefaults setObject:user.fans forKey:OFans];
    if (user.friends!=nil) [userDefaults setObject:user.friends forKey:OFriends];
    if (user.follow!=nil) [userDefaults setObject:user.follow forKey:OFollow];
    if (user.dynamic_num!=nil) [userDefaults setObject:user.dynamic_num forKey:ODynamic_num];
    if (user.adolescent_mode!=nil) [userDefaults setObject:user.adolescent_mode forKey:OAdolescent_mode];
    if (user.black_status!=nil) [userDefaults setObject:user.black_status forKey:OBlack_status];
    if (user.hide_city!=nil) [userDefaults setObject:user.hide_city forKey:OHide_city];
    if (user.say_hello_1!=nil) [userDefaults setObject:user.say_hello_1 forKey:OSay_hello_1];
    if (user.say_hello_2!=nil) [userDefaults setObject:user.say_hello_2 forKey:OSay_hello_2];
    if (user.say_hello_3!=nil) [userDefaults setObject:user.say_hello_3 forKey:OSay_hello_3];
    if (user.kf_code!=nil) [userDefaults setObject:user.kf_code forKey:OKf_code];
    
    
    [userDefaults synchronize];
}

// 清除
+ (void)clearProfile {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    [userDefaults setObject:nil forKey:OToken];
    [userDefaults setObject:nil forKey:OUser_id];
    [userDefaults setObject:nil forKey:OIs_complete];
    [userDefaults setObject:nil forKey:OVerify_scheme];
    [userDefaults setObject:nil forKey:OVerify_domain];
    [userDefaults setObject:nil forKey:OVerify_user];
    [userDefaults setObject:nil forKey:OIs_location_forbidden_popup];
    [userDefaults setObject:nil forKey:OAudit_icon];
    [userDefaults setObject:nil forKey:OIs_save_audit_icon];
    
    [userDefaults setObject:nil forKey:Oicon];
    [userDefaults setObject:nil forKey:Ois_show_icon];
    [userDefaults setObject:nil forKey:Ofamily_id];
    [userDefaults setObject:nil forKey:Ointegral];
    [userDefaults setObject:nil forKey:Ois_upload_icon];
    [userDefaults setObject:nil forKey:Ovisitor_count];
    [userDefaults setObject:nil forKey:Ovp_expiration_time_desc];
    [userDefaults setObject:nil forKey:Ois_vp];
    [userDefaults setObject:nil forKey:Ochat_bubble];
    [userDefaults setObject:nil forKey:Onickname];
    
    [userDefaults setObject:nil forKey:Ois_self];
    [userDefaults setObject:nil forKey:Ois_vp_new];
    [userDefaults setObject:nil forKey:Ovp_background_icon];
    [userDefaults setObject:nil forKey:Ocoin];
    [userDefaults setObject:nil forKey:Ois_ban_msg];
    [userDefaults setObject:nil forKey:Ovp_expiration_time];
    [userDefaults setObject:nil forKey:Opicture_frame];
    [userDefaults setObject:nil forKey:Ois_task_done];
    [userDefaults setObject:nil forKey:Ois_party_girl];
    [userDefaults setObject:nil forKey:Ouser_code];
    
    [userDefaults setObject:nil forKey:Ofans_number];
    [userDefaults setObject:nil forKey:Ofriend_number];
    [userDefaults setObject:nil forKey:Ovistors_number];
    [userDefaults setObject:nil forKey:Onote_value];
    [userDefaults setObject:nil forKey:Ois_create_family];
    [userDefaults setObject:nil forKey:Ovp_expiration_time_desc_new];
    [userDefaults setObject:nil forKey:Owatch_number];
    [userDefaults setObject:nil forKey:Obanner_list];
    [userDefaults setObject:nil forKey:Ovisitor_icon];
    [userDefaults setObject:nil forKey:Oinfo_complete_task];
    
    [userDefaults setObject:nil forKey:Ovp_desc];
    [userDefaults setObject:nil forKey:Oplay_party];
    [userDefaults setObject:nil forKey:Oregister_time];
    [userDefaults setObject:nil forKey:Ois_real];
    [userDefaults setObject:nil forKey:Ochat_banner_list];
    
    
    [userDefaults setObject:nil forKey:OAccess_token];
//    [userDefaults setObject:nil forKey:OAccess_uid];
    [userDefaults setObject:nil forKey:OImage];
    [userDefaults setObject:nil forKey:OConstellation];
    [userDefaults setObject:nil forKey:OAutograph];
    [userDefaults setObject:nil forKey:OAge];
    [userDefaults setObject:nil forKey:OTel];
    [userDefaults setObject:nil forKey:OBalance];
    [userDefaults setObject:nil forKey:OBirthTime];
    [userDefaults setObject:nil forKey:OFollower];
    [userDefaults setObject:nil forKey:ORole];
    [userDefaults setObject:nil forKey:OTigaseUserName];
    
    [userDefaults setObject:nil forKey:OVpCard];
    [userDefaults setObject:nil forKey:OCheckStatus];
    [userDefaults setObject:nil forKey:OIsLogin];
    [userDefaults setObject:nil forKey:OTotalPhoto];
    [userDefaults setObject:nil forKey:OTotalComment];
    [userDefaults setObject:nil forKey:OIsVp];
    [userDefaults setObject:nil forKey:OTotalLikes];
    [userDefaults setObject:nil forKey:OTotalAttention];
    [userDefaults setObject:nil forKey:OFollowAndAttention];
    [userDefaults setObject:nil forKey:OShareLevel];
     [userDefaults setObject:nil forKey:OIsPerfect];
    [userDefaults setObject:nil forKey:OIsBannerNotice];
    [userDefaults setObject:nil forKey:OIsSendMsg];
    [userDefaults setObject:nil forKey:OAppOpenAdertise];
    [userDefaults setObject:nil forKey:OIsSuperVP];
    [userDefaults setObject:nil forKey:OIsShowMarketer];
    [userDefaults setObject:nil forKey:OChannelid];
     [userDefaults setObject:nil forKey:OBindId];
    [userDefaults setObject:nil forKey:OIsShowAgent];
    [userDefaults setObject:nil forKey:OChatChargesCost];
    [userDefaults setObject:nil forKey:OIfLimitUser];
    [userDefaults setObject:nil forKey:OSendMessage];
    
    [userDefaults setObject:nil forKey:OSmsCost];
    [userDefaults setObject:nil forKey:OVoiceCallCost];
    [userDefaults setObject:nil forKey:OVideoCallCost];
    [userDefaults setObject:nil forKey:OAnswerVoice];
    [userDefaults setObject:nil forKey:OAnswerVideo];
    
    [userDefaults setObject:nil forKey:OOpenVoiceVideoSounds];
    
    [userDefaults setObject:nil forKey:ODalampCoin];
    [userDefaults setObject:nil forKey:OInvitationCode];
    
    [userDefaults setObject:nil forKey:ODefaultSmsSetCost];
    [userDefaults setObject:nil forKey:OIosTopUpEachOther];
    [userDefaults setObject:nil forKey:ORedPacketIosProductId];
    
    [userDefaults setObject:nil forKey:OShopExpire];
    
    [userDefaults setObject:nil forKey:OPrintExpire];
    [userDefaults setObject:nil forKey:OPrintTemplateId];
    [userDefaults setObject:nil forKey:OAiNumber];
   
    [userDefaults setObject:nil forKey:OExtInfo];
    [userDefaults setObject:nil forKey:OOpenAdvertising];
    
    [userDefaults setObject:nil forKey:OID];
    [userDefaults setObject:nil forKey:OUsername];
    [userDefaults setObject:nil forKey:OPassword];
//    [userDefaults setObject:nil forKey:ONickname];
    [userDefaults setObject:nil forKey:OPhone];
    [userDefaults setObject:nil forKey:OEmail];
    [userDefaults setObject:nil forKey:OMyaccount];
    [userDefaults setObject:nil forKey:OPoints];
    
   
    [userDefaults setObject:nil forKey:OAddress];
    [userDefaults setObject:nil forKey:OSex];
    [userDefaults setObject:nil forKey:OBirthday];
    [userDefaults setObject:nil forKey:OAvatar];
    [userDefaults setObject:nil forKey:OSignature];
    [userDefaults setObject:nil forKey:OCardtype];
    [userDefaults setObject:nil forKey:OCardid];
    [userDefaults setObject:nil forKey:OCardup];
    [userDefaults setObject:nil forKey:OCarddown];
    [userDefaults setObject:nil forKey:OStatus];
    [userDefaults setObject:nil forKey:OPhone_status];
    [userDefaults setObject:nil forKey:OEmail_status];
    [userDefaults setObject:nil forKey:ORegtime];
    [userDefaults setObject:nil forKey:ORegip];
    [userDefaults setObject:nil forKey:OLogintime];
    [userDefaults setObject:nil forKey:OLoginip];
    [userDefaults setObject:nil forKey:OHigherlevel];
    
    
    
    
    [userDefaults setObject:nil forKey:OShow_number];
    [userDefaults setObject:nil forKey:OInvite_id];
    [userDefaults setObject:nil forKey:OOriginal_avatar];
    [userDefaults setObject:nil forKey:OReal_person_auth];
    [userDefaults setObject:nil forKey:OReal_name_auth];
    [userDefaults setObject:nil forKey:OFollow_rule_video];
    [userDefaults setObject:nil forKey:ONeed_follow_rule_video];
    [userDefaults setObject:nil forKey:OAvatar_frame];
    [userDefaults setObject:nil forKey:OSelect];
    [userDefaults setObject:nil forKey:OBubble];
    [userDefaults setObject:nil forKey:OHonor];
    [userDefaults setObject:nil forKey:OOpen_hide_guardian];
    [userDefaults setObject:nil forKey:OOpen_hide_level];
    [userDefaults setObject:nil forKey:OOpen_message];
    [userDefaults setObject:nil forKey:OOpen_rob_chat];
    [userDefaults setObject:nil forKey:OOpen_stealth];
    [userDefaults setObject:nil forKey:OOpen_rank_show];
    [userDefaults setObject:nil forKey:OOpen_recv_gift_show];
    [userDefaults setObject:nil forKey:OOpen_city_location];
    [userDefaults setObject:nil forKey:OOpen_system_accost];
    [userDefaults setObject:nil forKey:OOpen_daily_wiring];
    [userDefaults setObject:nil forKey:OOpen_video];
    [userDefaults setObject:nil forKey:OOpen_voice];
    [userDefaults setObject:nil forKey:OOpen_appo];
    [userDefaults setObject:nil forKey:OOpen_cge];
    [userDefaults setObject:nil forKey:OVidp];
    [userDefaults setObject:nil forKey:OVoip];
    [userDefaults setObject:nil forKey:OAppovidp];
    [userDefaults setObject:nil forKey:OChatp];
    [userDefaults setObject:nil forKey:OOpen_tv];
    [userDefaults setObject:nil forKey:OGroup_flg];
    [userDefaults setObject:nil forKey:OFans];
    [userDefaults setObject:nil forKey:OFriends];
    [userDefaults setObject:nil forKey:OFollow];
    [userDefaults setObject:nil forKey:ODynamic_num];
    [userDefaults setObject:nil forKey:OAdolescent_mode];
    [userDefaults setObject:nil forKey:OBlack_status];
    [userDefaults setObject:nil forKey:OHide_city];
    [userDefaults setObject:nil forKey:OSay_hello_1];
    [userDefaults setObject:nil forKey:OSay_hello_2];
    [userDefaults setObject:nil forKey:OSay_hello_3];
    [userDefaults setObject:nil forKey:OKf_code];
    

    [userDefaults synchronize];
}

// 储存到LiveUser这个类
+ (LiveUser *)myProfile {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    LiveUser *user = [[LiveUser alloc] init];
    user.token = [userDefaults objectForKey: OToken];
    user.user_id = [userDefaults objectForKey: OUser_id];
    user.is_complete = [userDefaults objectForKey: OIs_complete];
    user.verify_scheme = [userDefaults objectForKey: OVerify_scheme];
    user.verify_domain = [userDefaults objectForKey: OVerify_domain];
    user.verify_user = [userDefaults objectForKey: OVerify_user];
    user.is_location_forbidden_popup = [userDefaults objectForKey: OIs_location_forbidden_popup];
    user.audit_icon = [userDefaults objectForKey: OAudit_icon];
    user.is_save_audit_icon = [userDefaults objectForKey: OIs_save_audit_icon];
    
    user.icon = [userDefaults objectForKey: Oicon];
    user.is_show_icon = [userDefaults objectForKey: Ois_show_icon];
    user.family_id = [userDefaults objectForKey: Ofamily_id];
    user.integral = [userDefaults objectForKey: Ointegral];
    user.is_upload_icon = [userDefaults objectForKey: Ois_upload_icon];
    user.visitor_count = [userDefaults objectForKey: Ovisitor_count];
    user.vp_expiration_time_desc = [userDefaults objectForKey: Ovp_expiration_time_desc];
    user.is_vp = [userDefaults objectForKey: Ois_vp];
    user.chat_bubble = [userDefaults objectForKey: Ochat_bubble];
    user.nickname = [userDefaults objectForKey: Onickname];
    
    user.is_self = [userDefaults objectForKey: Ois_self];
    user.is_vp_new = [userDefaults objectForKey: Ois_vp_new];
    user.vp_background_icon = [userDefaults objectForKey: Ovp_background_icon];
    user.coin = [userDefaults objectForKey: Ocoin];
    user.is_ban_msg = [userDefaults objectForKey: Ois_ban_msg];
    user.vp_expiration_time = [userDefaults objectForKey: Ovp_expiration_time];
    user.picture_frame = [userDefaults objectForKey: Opicture_frame];
    user.is_task_done = [userDefaults objectForKey: Ois_task_done];
    user.is_party_girl = [userDefaults objectForKey: Ois_party_girl];
    user.user_code = [userDefaults objectForKey: Ouser_code];
    
    user.fans_number = [userDefaults objectForKey: Ofans_number];
    user.friend_number = [userDefaults objectForKey: Ofriend_number];
    user.vistors_number = [userDefaults objectForKey: Ovistors_number];
    user.note_value = [userDefaults objectForKey: Onote_value];
    user.is_create_family = [userDefaults objectForKey: Ois_create_family];
    user.vp_expiration_time_desc_new = [userDefaults objectForKey: Ovp_expiration_time_desc_new];
    user.watch_number = [userDefaults objectForKey: Owatch_number];
    user.banner_list = [userDefaults objectForKey: Obanner_list];
    user.visitor_icon = [userDefaults objectForKey: Ovisitor_icon];
    user.info_complete_task = [userDefaults objectForKey: Oinfo_complete_task];
    user.vp_desc = [userDefaults objectForKey: Ovp_desc];
    user.play_party = [userDefaults objectForKey: Oplay_party];
    user.register_time = [userDefaults objectForKey: Oregister_time];
    user.is_real = [userDefaults objectForKey: Ois_real];
    user.chat_banner_list = [userDefaults objectForKey: Ochat_banner_list];
    
    
    user.access_uid = [userDefaults objectForKey: OAccess_uid];
    user.access_token = [userDefaults objectForKey: OAccess_token];
    user.image = [userDefaults objectForKey: OImage];
    user.constellation = [userDefaults objectForKey: OConstellation];
    user.autograph = [userDefaults objectForKey: OAutograph];
    user.age = [userDefaults objectForKey: OAge];
    user.tel = [userDefaults objectForKey: OTel];
    user.balance = [userDefaults objectForKey: OBalance];
    user.birthTime = [userDefaults objectForKey: OBirthTime];
    user.follower = [userDefaults objectForKey: OFollower];
    user.role = [userDefaults objectForKey: ORole];
    user.tigaseUserName = [userDefaults objectForKey: OTigaseUserName];
    
    user.vpCard = [userDefaults objectForKey: OVpCard];
    user.checkStatus = [userDefaults objectForKey: OCheckStatus];
    user.isLogin = [userDefaults objectForKey: OIsLogin];
    user.totalPhoto = [userDefaults objectForKey: OTotalPhoto];
    user.totalComment = [userDefaults objectForKey: OTotalComment];
    user.isVp = [userDefaults objectForKey: OIsVp];
    user.totalLikes=[userDefaults objectForKey:OTotalLikes];
    user.totalAttention=[userDefaults objectForKey:OTotalAttention];
    user.followAndAttention=[userDefaults objectForKey:OFollowAndAttention];
    user.shareLevel=[userDefaults objectForKey:OShareLevel];
    user.isPerfect=[userDefaults objectForKey:OIsPerfect];
    user.isBannerNotice=[userDefaults objectForKey:OIsBannerNotice];
    user.isSendMsg=[userDefaults objectForKey:OIsSendMsg];
    user.appOpenAdertise=[userDefaults objectForKey:OAppOpenAdertise];
    user.isSuperVP=[userDefaults objectForKey:OIsSuperVP];
    user.isShowMarketer=[userDefaults objectForKey:OIsShowMarketer];
    
    user.channelid=[userDefaults objectForKey:OChannelid];
    user.bindId=[userDefaults objectForKey:OBindId];
    user.isShowAgent=[userDefaults objectForKey:OIsShowAgent];
    
    user.chatChargesCost=[userDefaults objectForKey:OChatChargesCost];
    user.ifLimitUser=[userDefaults objectForKey:OIfLimitUser];
    user.sendMessage=[userDefaults objectForKey:OSendMessage];
    
    user.smsCost=[userDefaults objectForKey:OSmsCost];
    user.voiceCallCost=[userDefaults objectForKey:OVoiceCallCost];
    user.videoCallCost=[userDefaults objectForKey:OVideoCallCost];
    user.answerVoice=[userDefaults objectForKey:OAnswerVoice];
    user.answerVideo=[userDefaults objectForKey:OAnswerVideo];
    
    user.openVoiceVideoSounds=[userDefaults objectForKey:OOpenVoiceVideoSounds];
    
    user.dalampCoin=[userDefaults objectForKey:ODalampCoin];
    user.invitationCode=[userDefaults objectForKey:OInvitationCode];
    
    user.defaultSmsSetCost=[userDefaults objectForKey:ODefaultSmsSetCost];
    user.iosTopUpEachOther=[userDefaults objectForKey:OIosTopUpEachOther];
    user.redPacketIosProductId=[userDefaults objectForKey:ORedPacketIosProductId];
    user.shopExpire=[userDefaults objectForKey:OShopExpire];
    
    user.printExpire=[userDefaults objectForKey:OPrintExpire];
    user.printTemplateId=[userDefaults objectForKey:OPrintTemplateId];
    user.aiNumber=[userDefaults objectForKey:OAiNumber];
    
    user.extInfo=[userDefaults objectForKey:OExtInfo];
    user.openAdvertising=[userDefaults objectForKey:OOpenAdvertising];
    
    user.ID = [userDefaults objectForKey: OID];
    user.Username = [userDefaults objectForKey: OUsername];
    user.Password = [userDefaults objectForKey: OPassword];
//    user.Nickname = [userDefaults objectForKey: ONickname];
    user.Phone = [userDefaults objectForKey: OPhone];
    user.Email = [userDefaults objectForKey: OEmail];
    user.Myaccount = [userDefaults objectForKey: OMyaccount];
    user.Points = [userDefaults objectForKey: OPoints];
    
    user.Address = [userDefaults objectForKey: OAddress];
    user.Sex = [userDefaults objectForKey: OSex];
    user.Birthday = [userDefaults objectForKey:OBirthday];
    user.Avatar = [userDefaults objectForKey:OAvatar];
    user.Signature = [userDefaults objectForKey: OSignature];
    user.Cardtype = [userDefaults objectForKey: OCardtype];
    user.Cardid = [userDefaults objectForKey: OCardid];
    user.cardup = [userDefaults objectForKey: OCardup];
    user.carddown = [userDefaults objectForKey: OCarddown];
    user.status = [userDefaults objectForKey: OStatus];
    user.Phone_status = [userDefaults objectForKey: OPhone_status];
    user.Email_status = [userDefaults objectForKey: OEmail_status];
    user.Regtime = [userDefaults objectForKey: ORegtime];
    user.Regip = [userDefaults objectForKey: ORegip];
    user.Logintime = [userDefaults objectForKey: OLogintime];
    user.Loginip = [userDefaults objectForKey:OLoginip];
    user.Higherlevel = [userDefaults objectForKey:OHigherlevel];
    
    user.show_number = [userDefaults objectForKey:OShow_number];
    user.invite_id = [userDefaults objectForKey:OInvite_id];
    user.original_avatar = [userDefaults objectForKey:OOriginal_avatar];
    user.real_person_auth = [userDefaults objectForKey:OReal_person_auth];
    user.real_name_auth = [userDefaults objectForKey:OReal_name_auth];
    user.follow_rule_video = [userDefaults objectForKey:OFollow_rule_video];
    user.need_follow_rule_video = [userDefaults objectForKey:ONeed_follow_rule_video];
    user.avatar_frame = [userDefaults objectForKey:OAvatar_frame];
    user.select = [userDefaults objectForKey:OSelect];
    user.bubble = [userDefaults objectForKey:OBubble];
    user.honor = [userDefaults objectForKey:OHonor];
    user.open_hide_guardian = [userDefaults objectForKey:OOpen_hide_guardian];
    user.open_hide_level = [userDefaults objectForKey:OOpen_hide_level];
    user.open_message = [userDefaults objectForKey:OOpen_message];
    user.open_rob_chat = [userDefaults objectForKey:OOpen_rob_chat];
    user.open_stealth = [userDefaults objectForKey:OOpen_stealth];
    user.open_rob_chat = [userDefaults objectForKey:OOpen_rob_chat];
    user.open_stealth = [userDefaults objectForKey:OOpen_stealth];
    user.open_rank_show = [userDefaults objectForKey:OOpen_rank_show];
    user.open_recv_gift_show = [userDefaults objectForKey:OOpen_recv_gift_show];
    user.open_city_location = [userDefaults objectForKey:OOpen_city_location];
    user.open_system_accost = [userDefaults objectForKey:OOpen_system_accost];
    user.open_daily_wiring = [userDefaults objectForKey:OOpen_daily_wiring];
    user.open_video = [userDefaults objectForKey:OOpen_video];
    user.open_voice = [userDefaults objectForKey:OOpen_voice];
    user.open_appo = [userDefaults objectForKey:OOpen_appo];
    user.open_cge = [userDefaults objectForKey:OOpen_cge];
    user.vidp = [userDefaults objectForKey:OVidp];
    user.voip = [userDefaults objectForKey:OVoip];
    user.appovidp = [userDefaults objectForKey:OAppovidp];
    user.chatp = [userDefaults objectForKey:OChatp];
    user.open_tv = [userDefaults objectForKey:OOpen_tv];
    user.group_flg = [userDefaults objectForKey:OGroup_flg];
    user.fans = [userDefaults objectForKey:OFans];
    user.friends = [userDefaults objectForKey:OFriends];
    user.follow = [userDefaults objectForKey:OFollow];
    user.dynamic_num = [userDefaults objectForKey:ODynamic_num];
    user.adolescent_mode = [userDefaults objectForKey:OAdolescent_mode];
    user.black_status = [userDefaults objectForKey:OBlack_status];
    user.hide_city = [userDefaults objectForKey:OHide_city];
    
    
    user.say_hello_1 = [userDefaults objectForKey:OSay_hello_1];
    user.say_hello_2 = [userDefaults objectForKey:OSay_hello_2];
    user.say_hello_3 = [userDefaults objectForKey:OSay_hello_3];
    user.kf_code = [userDefaults objectForKey:OKf_code];
    
    
    return user;
}
//token
+ (NSString *)getToken {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Token = [userDefaults objectForKey: OToken];
    return Token;
}

//User_id
+ (NSString *)getUser_id {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: OUser_id];
    return user_id;
}

//is_complete
+ (NSString *)getIs_complete {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: OIs_complete];
    return user_id;
}
//verify_scheme
+ (NSString *)getVerify_scheme {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: OVerify_scheme];
    return user_id;
}
//verify_domain
+ (NSString *)getVerify_domain {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: OVerify_domain];
    return user_id;
}
//verify_user
+ (NSString *)getVerify_user {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: OVerify_user];
    return user_id;
}
//is_location_forbidden_popup
+ (NSString *)getIs_location_forbidden_popup {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: OIs_location_forbidden_popup];
    return user_id;
}
//Audit_icon
+ (NSString *)getAudit_icon {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: OAudit_icon];
    return user_id;
}
//Is_save_audit_icon
+ (NSString *)getIs_save_audit_icon {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: OIs_save_audit_icon];
    return user_id;
}

+ (NSString *)geticon{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Oicon];
    return user_id;
}
+ (NSString *)getis_show_icon{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ois_show_icon];
    return user_id;
}
+ (NSString *)getfamily_id{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ofamily_id];
    return user_id;
}
+ (NSString *)getintegral{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ointegral];
    return user_id;
}
+ (NSString *)getis_upload_icon{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ois_upload_icon];
    return user_id;
}
+ (NSString *)getvisitor_count{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ovisitor_count];
    return user_id;
}
+ (NSString *)get_expiration_time_desc{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ovp_expiration_time_desc];
    return user_id;
}
+ (NSString *)getis_vp{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ois_vp];
    return user_id;
}
+ (NSString *)getchat_bubble{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ochat_bubble];
    return user_id;
}
+ (NSString *)getnickname{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Onickname];
    return user_id;
}
+ (NSString *)getis_self{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ois_self];
    return user_id;
}
+ (NSString *)getis_vp_new{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ois_vp_new];
    return user_id;
}
+ (NSString *)getvp_background_icon{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ovp_background_icon];
    return user_id;
}
+ (NSString *)getcoin{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ocoin];
    return user_id;
}
+ (NSString *)getis_ban_msg{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ois_ban_msg];
    return user_id;
}
+ (NSString *)getvp_expiration_time{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ovp_expiration_time];
    return user_id;
}
+ (NSString *)getpicture_frame{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Opicture_frame];
    return user_id;
}
+ (NSString *)getis_task_done{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ois_task_done];
    return user_id;
}
+ (NSString *)getis_party_girl{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ois_party_girl];
    return user_id;
}
+ (NSString *)getuser_code{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ouser_code];
    return user_id;
}
+ (NSString *)getfans_number{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ofans_number];
    return user_id;
}
+ (NSString *)getfriend_number{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ofriend_number];
    return user_id;
}
+ (NSString *)getvistors_number{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ovistors_number];
    return user_id;
}
+ (NSString *)getnote_value{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Onote_value];
    return user_id;
}
+ (NSString *)getis_create_family{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ois_create_family];
    return user_id;
}
+ (NSString *)get_expiration_time_desc_new{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ovp_expiration_time_desc_new];
    return user_id;
}
+ (NSString *)getwatch_number{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Owatch_number];
    return user_id;
}
+ (NSArray *)getbanner_list{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSArray *user_id = [userDefaults objectForKey: Obanner_list];
    return user_id;
}
+ (NSString *)getvisitor_icon{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ovisitor_icon];
    return user_id;
}
+ (NSString *)getinfo_complete_task{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Oinfo_complete_task];
    return user_id;
}
+ (NSString *)getvp_desc{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ovp_desc];
    return user_id;
}
+ (NSDictionary *)getplay_party{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSDictionary *user_id = [userDefaults objectForKey: Oplay_party];
    return user_id;
}
+ (NSString *)getregister_time{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Oregister_time];
    return user_id;
}
+ (NSString *)getis_real{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *user_id = [userDefaults objectForKey: Ois_real];
    return user_id;
}
+ (NSArray *)getchat_banner_list{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSArray *user_id = [userDefaults objectForKey: Ochat_banner_list];
    return user_id;
}



+ (NSString *)getAccess_uid {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Access_uid = [userDefaults objectForKey: OAccess_uid];
    return Access_uid;
}
+ (NSString *)getAccess_token {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Access_token = [userDefaults objectForKey: OAccess_token];
    return Access_token;
}
+ (NSString *)getImage {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Image = [userDefaults objectForKey: OImage];
    return Image;
}
+ (NSString *)getConstellation {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Constellation = [userDefaults objectForKey: OConstellation];
    return Constellation;
}

+ (NSString *)getAutograph {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Autograph = [userDefaults objectForKey: OAutograph];
    return Autograph;
}
+ (NSString *)getAge {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Age = [userDefaults objectForKey: OAge];
    return Age;
}

+ (NSString *)getTel {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Tel = [userDefaults objectForKey: OTel];
    return Tel;
}

+ (NSString *)getBalance {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Balance = [userDefaults objectForKey: OBalance];
    return Balance;
}

+ (NSString *)getBirthTime {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *BirthTime = [userDefaults objectForKey: OBirthTime];
    return BirthTime;
}

+ (NSString *)getFollower {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Follower = [userDefaults objectForKey: OFollower];
    return Follower;
}

+ (NSString *)getRole {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Role = [userDefaults objectForKey: ORole];
    return Role;
}

+ (NSString *)getTigaseUserName {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *TigaseUserName = [userDefaults objectForKey: OTigaseUserName];
    return TigaseUserName;
}


+ (NSString *)getVpCard {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *VpCard = [userDefaults objectForKey: OVpCard];
    return VpCard;
}

+ (NSString *)getCheckStatus {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *CheckStatus = [userDefaults objectForKey: OCheckStatus];
    return CheckStatus;
}

+ (NSString *)getIsLogin {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *IsLogin = [userDefaults objectForKey: OIsLogin];
    return IsLogin;
}

+ (NSString *)getTotalPhoto {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *TotalPhoto = [userDefaults objectForKey: OTotalPhoto];
    return TotalPhoto;
}

+ (NSString *)getTotalComment {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *TotalComment = [userDefaults objectForKey: OTotalComment];
    return TotalComment;
}

+ (NSString *)getIsVp {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *IsVp = [userDefaults objectForKey: OIsVp];
    return IsVp;
}

+ (NSString *)getTotalLikes{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *TotalLikes = [userDefaults objectForKey: OTotalLikes];
    return TotalLikes;
}

+ (NSString *)getTotalAttention{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *TotalAttention = [userDefaults objectForKey: OTotalAttention];
    return TotalAttention;
}

+ (NSString *)getFollowAndAttention{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *FollowAndAttention = [userDefaults objectForKey: OFollowAndAttention];
    return FollowAndAttention;
}

+ (NSString *)getShareLevel{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *ShareLevel = [userDefaults objectForKey: OShareLevel];
    return ShareLevel;
}

+ (NSString *)getIsPerfect{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *IsPerfect = [userDefaults objectForKey: OIsPerfect];
    return IsPerfect;
}

+ (NSString *)getIsBannerNotice{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *IsBannerNotice = [userDefaults objectForKey: OIsBannerNotice];
    return IsBannerNotice;
}

+ (NSString *)getIsSendMsg{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *IsSendMsg = [userDefaults objectForKey: OIsSendMsg];
    return IsSendMsg;
}

+ (NSString *)getAppOpenAdertise{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *appOpenAdertise = [userDefaults objectForKey: OAppOpenAdertise];
    return appOpenAdertise;
}

+ (NSString *)getisSuperVP{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *isSuperVP = [userDefaults objectForKey: OIsSuperVP];
    return isSuperVP;
}

+ (NSString *)getisShowMarketer{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *isShowMarketer = [userDefaults objectForKey: OIsShowMarketer];
    return isShowMarketer;
}

+ (NSString *)getchannelid{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *channelid = [userDefaults objectForKey: OChannelid];
    return channelid;
}

+ (NSString *)getBindId{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *bindId = [userDefaults objectForKey: OBindId];
    return bindId;
}

+ (NSString *)getIsShowAgent{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *isShowAgent = [userDefaults objectForKey: OIsShowAgent];
    return isShowAgent;
}

+ (NSString *)getChatChargesCost{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *chatChargesCost = [userDefaults objectForKey: OChatChargesCost];
    return chatChargesCost;
}

+ (NSString *)getIfLimitUser{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *ifLimitUser = [userDefaults objectForKey: OIfLimitUser];
    return ifLimitUser;
}

+ (NSString *)getSendMessage{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: OSendMessage];
    return sendMessage;
}

+ (NSString *)getSmsCost{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: OSmsCost];
    return sendMessage;
}

+ (NSString *)getVoiceCallCost{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: OVoiceCallCost];
    return sendMessage;
}

+ (NSString *)getVideoCallCost{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: OVideoCallCost];
    return sendMessage;
}

+ (NSString *)getAnswerVoice{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: OAnswerVoice];
    return sendMessage;
}

+ (NSString *)getAnswerVideo{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: OAnswerVideo];
    return sendMessage;
}

+ (NSString *)getOpenVoiceVideoSounds{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: OOpenVoiceVideoSounds];
    return sendMessage;
}

+ (NSString *)getDalampCoin{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: ODalampCoin];
    return sendMessage;
}

+ (NSString *)getInvitationCode{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: OInvitationCode];
    return sendMessage;
}

+ (NSString *)getDefaultSmsSetCost{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: ODefaultSmsSetCost];
    return sendMessage;
}
+ (NSString *)getIosTopUpEachOther{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: OIosTopUpEachOther];
    return sendMessage;
    
}
+ (NSString *)getRedPacketIosProductId{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: ORedPacketIosProductId];
    return sendMessage;
}

+ (NSString *)getShopExpire{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: OShopExpire];
    return sendMessage;
}

+ (NSString *)getPrintExpire{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: OPrintExpire];
    return sendMessage;
}

+ (NSString *)getPrintTemplateId{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: OPrintTemplateId];
    return sendMessage;
}

+ (NSString *)getAiNumber{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: OAiNumber];
    return sendMessage;
}

+ (NSString *)getExtInfo{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: OExtInfo];
    return sendMessage;
}

+ (NSString *)getOpenAdvertising{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *sendMessage = [userDefaults objectForKey: OOpenAdvertising];
    return sendMessage;
}

// 唯一值，自动编号
+ (NSString *)getID {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *ID = [userDefaults objectForKey: OID];
    return ID;
}

// 用户名称/账号
+ (NSString *)getUsername {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Username = [userDefaults objectForKey: OUsername];
    return Username;
}

// 用户密码，md5加密，长度在8-20之间
+ (NSString *)getPassword {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Password = [userDefaults objectForKey: OPassword];
    return Password;
}

// 昵称
//+ (NSString *)getNickname {
//    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
//    NSString *Nickname = [userDefaults objectForKey: ONickname];
//    return Nickname;
//}

// 手机号码
+ (NSString *)getPhone {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Phone = [userDefaults objectForKey: OPhone];
    return Phone;
}

// 邮箱
+ (NSString *)getEmail {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Email = [userDefaults objectForKey: OEmail];
    return Email;
}

// 余额
+ (NSString *)getMyaccount {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Myaccount = [userDefaults objectForKey: OMyaccount];
    return Myaccount;
}

// 积分
+ (NSString *)getPoints {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Points = [userDefaults objectForKey: OPoints];
    return Points;
}


// 地址
+ (NSString *)getAddress {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Address = [userDefaults objectForKey: OAddress];
    return Address;
}

// 0=保密 1=男 2=女
+ (NSString *)getSex {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Sex = [userDefaults objectForKey: OSex];
    return Sex;
}

// 生日
+ (NSString *)getBirthday {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Birthday = [userDefaults objectForKey: OBirthday];
    return Birthday;
}

// 头像路径（图片地址）
+ (NSString *)getAvatar {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Avatar = [userDefaults objectForKey: OAvatar];
    return Avatar;
}

// 签名
+ (NSString *)getSignature {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Signature = [userDefaults objectForKey: OSignature];
    return Signature;
}

// 证件类型
+ (NSString *)getCardtype {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Cardtype = [userDefaults objectForKey: OCardtype];
    return Cardtype;
}

// 证件号码
+ (NSString *)getCardid {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Cardid = [userDefaults objectForKey: OCardid];
    return Cardid;
}

// 证件图片1（正面）
+ (NSString *)getCardup {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Cardup = [userDefaults objectForKey: OCardup];
    return Cardup;
}

// 证件图片2（反面）
+ (NSString *)getCarddown {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Carddown = [userDefaults objectForKey: OCarddown];
    return Carddown;
}

// 状态（普通）0=正常 1=冻结
+ (NSString *)getStatus {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Status = [userDefaults objectForKey: OStatus];
    return Status;
}

// 状态（手机）0=未认证 1=正常
+ (NSString *)getPhone_status {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Phone_status = [userDefaults objectForKey: OPhone_status];
    return Phone_status;
}

// 状态（邮箱）0=未认证 1=正常
+ (NSString *)getEmail_status {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Email_status = [userDefaults objectForKey: OEmail_status];
    return Email_status;
}

// 注册时间（时间戳）
+ (NSString *)getRegtime {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Regtime = [userDefaults objectForKey: ORegtime];
    return Regtime;
}

// 注册IP地址
+ (NSString *)getRegip {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Regip = [userDefaults objectForKey: ORegip];
    return Regip;
}

// 最后登录时间
+ (NSString *)getLogintime {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Logintime = [userDefaults objectForKey: OLogintime];
    return Logintime;
}

// 最后登录IP
+ (NSString *)getLoginip {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Loginip = [userDefaults objectForKey: OLoginip];
    return Loginip;
}

// 上级UID 默认为0，即平台
+ (NSString *)getHigherlevel {
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *Higherlevel = [userDefaults objectForKey: OHigherlevel];
    return Higherlevel;
}


//显示号
+ (NSString *)getShow_number{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OShow_number];
    return str;
}
//邀请人ID
+ (NSString *)getInvite_id{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OInvite_id];
    return str;
}

//原始头像URL
+ (NSString *)getOriginal_avatar{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OOriginal_avatar];
    return str;
}
//真人认证状态(1:未认证,2:已认证,3:审核中)
+ (NSString *)getReal_person_auth{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OReal_person_auth];
    return str;
}
//实名认证状态(1:未认证,2:已认证,3:审核中)
+ (NSString *)getReal_name_auth{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OReal_name_auth];
    return str;
}
//遵守平台规则认证状态(0:未认证,1:已认证)
+ (NSString *)getFollow_rule_video{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OFollow_rule_video];
    return str;
}
//是否需要立即完成遵守平台规则认证(0:不需要,1:需要)
+ (NSString *)getNeed_follow_rule_video{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: ONeed_follow_rule_video];
    return str;
}

//头像装饰ID
+ (NSString *)getAvatar_frame{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OAvatar_frame];
    return str;
}
//是否精选用户(1:是)
+ (NSString *)getSelect{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OSelect];
    return str;
}
//聊天气泡装饰ID
+ (NSString *)getBubble{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OBubble];
    return str;
}
//称号ID
+ (NSString *)getHonor{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OHonor];
    return str;
}
//是否隐藏守护者(1:不隐藏,2:隐藏)
+ (NSString *)getOpen_hide_guardian{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OOpen_hide_guardian];
    return str;
}
//是否隐藏魅力值和财富等级(1:不隐藏,2:隐藏)
+ (NSString *)getOpen_hide_level{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OOpen_hide_level];
    return str;
}




//是否开启消息通知(1:不开,2:开)
+ (NSString *)getOpen_message{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OOpen_message];
    return str;
}
//是否开启抢聊(1:开,2:不开)
+ (NSString *)getOpen_rob_chat{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OOpen_rob_chat];
    return str;
}
//隐身状态
+ (NSString *)getOpen_stealth{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OOpen_stealth];
    return str;
}
//是否打开排行榜显示(1:开,2:不开)
+ (NSString *)getOpen_rank_show{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OOpen_rank_show];
    return str;
}
//是否显示礼物图鉴(1:开,2:不开)
+ (NSString *)getOpen_recv_gift_show{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OOpen_recv_gift_show];
    return str;
}
//是否打开城市定位(1:开,2:不开)
+ (NSString *)getOpen_city_location{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OOpen_city_location];
    return str;
}
//是否开启系统搭讪(1:开,2:不开)
+ (NSString *)getOpen_system_accost{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OOpen_system_accost];
    return str;
}
//是否开启今日牵线(1:开,2:不开)
+ (NSString *)getOpen_daily_wiring{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OOpen_daily_wiring];
    return str;
}






//是否开启视频(1:开,2:不开)
+ (NSString *)getOpen_video{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OOpen_video];
    return str;
}
//是否开启语音(1:开,2:不开)
+ (NSString *)getOpen_voice{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OOpen_voice];
    return str;
}
//是否开启(1:开,2:不开)
+ (NSString *)getOpen_appo{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OOpen_appo];
    return str;
}
//是否开启收费(1:开,2:不开)
+ (NSString *)getOpen_cge{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OOpen_cge];
    return str;
}
//视频
+ (NSString *)getVidp{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OVidp];
    return str;
}
//语音
+ (NSString *)getVoip{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OVoip];
    return str;
}
//视频
+ (NSString *)getAppovidp{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OAppovidp];
    return str;
}


//聊天
+ (NSString *)getChatp{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OChatp];
    return str;
}
//是否上电视(1:开,2:不开)
+ (NSString *)getOpen_tv{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OOpen_tv];
    return str;
}
//分组标识
+ (NSString *)getGroup_flg{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OGroup_flg];
    return str;
}






//粉丝数
+ (NSString *)getFans{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OFans];
    return str;
}
//好友数
+ (NSString *)getFriends{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OFriends];
    return str;
}
//关注数
+ (NSString *)getFollow{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OFollow];
    return str;
}
//动态数
+ (NSString *)getDynamic_num{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: ODynamic_num];
    return str;
}
//青少年模式配置
+ (NSDictionary *)getAdolescent_mode{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSDictionary *str = [userDefaults objectForKey: OAdolescent_mode];
    return str;
}
//黑名单状态
+ (NSString *)getBlack_status{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OBlack_status];
    return str;
}
//是否隐藏城市
+ (NSString *)getHide_city{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OHide_city];
    return str;
}
//打招呼1
+ (NSString *)getSay_hello_1{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OSay_hello_1];
    return str;
}
//打招呼2
+ (NSString *)getSay_hello_2{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OSay_hello_2];
    return str;
}
//打招呼3
+ (NSString *)getSay_hello_3{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OSay_hello_3];
    return str;
}
//客服代码
+ (NSString *)getKf_code{
    NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
    NSString *str = [userDefaults objectForKey: OKf_code];
    return str;
}

@end
